package com.starlink.model.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.starlink.common.domain.BaseEntity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author zhanghong
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@TableName("mall_books_payment")
public class MallBooksPaymentDO extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 1L;
    /** 商城书籍订单ID */
    @TableField("mall_books_order_id")
    private Long mallBooksOrderId;
    /** 支付时间 */
    @TableField("payment_date")
    private Date paymentDate;
    /** 支付方式 */
    @TableField("payment_method")
    private String paymentMethod;
    /** 支付金额 */
    @TableField("amount")
    private BigDecimal amount;
}
